package com.dubbo.rpc.aspect;

import org.springframework.stereotype.Service;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 被 @RpcService 标识的类, 都会交给 Spring 管理
 * @author liuxin
 * @date 2021/10/9 22:53
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Service
public @interface RpcService {

    Class<?> value();

}
